import request from '../axios'
export default {
  getAllComment(id,page){
    return request({
      url: `/video/comment/getAllComment/${id}/${page}`,
      method: 'get'
    })
  },
   publishComment(videoId,CommentInfo){
    return request({
      url: `/video/comment/publishComment/${videoId}`,
      method: 'post',
      data:CommentInfo
    })
  }
}
